﻿using System;
using System.Data.Linq.Mapping;

namespace Tour.Linq.Model
{
    [Table (Name="Types")]
    public class TourType
    {
        [Column (IsPrimaryKey=true, IsDbGenerated=true)]
        public int ID { get; set; }

        [Column]
        public string TypeName { get; set; }
        [Column]
        public int ParentID { get; set; }
        [Column]
        public DateTime AddTime { get; set; }
    }
}
